package com.hlg.xboot.exceptions;

/**
 * Created by yangxin on 2017/5/17.
 */
public class UploadException extends ServerBizException {

    public UploadException() {
        super(ErrorCode.UPLOAD_ERROR.getRemark());
        this.errCode = ErrorCode.UPLOAD_ERROR;
    }

    public UploadException(String errorMessage) {
        super(errorMessage);
        this.errCode = ErrorCode.UPLOAD_ERROR;
    }

    public UploadException(ErrorCode errorCode) {
        super(errorCode.getRemark());
        this.errCode = errorCode;
    }
}
